<template>
  <el-button style="color:#0B9AC3;border:none;" icon="el-icon-edit" circle @click="meterUpdate()"></el-button>
</template>
<script>
export default {
  props: ["updateScopeRow", "updateData", "updateStandardData"],
  data() {
    return {
      menuTrigger: "",
      updateScopeRowClone: {},
      updateDataClone: [],
      updateStandardDataClone: {}
    };
  },
  methods: {
    meterUpdate() {
      [
        this.updateScopeRowClone,
        this.updateDataClone,
        this.updateStandardDataClone
      ] = JSON.parse(
        JSON.stringify([
          this.updateScopeRow,
          this.updateData,
          this.updateStandardData
        ])
      );
      this.$bus.emit(
        "todialogCom0002",
        this.updateScopeRowClone,
        this.updateDataClone,
        this.updateStandardDataClone
      ); //发给弹窗组件
    }
  }
};
</script>